MapLayer

A [class@Shumate.Layer] implementation that fetches tiles from a [class@Shumate.MapSource] and draws them as a grid.

Constructors

this
this(ShumateMapLayer* shumateMapLayer, bool ownedRef)

Sets our main struct and passes it to the parent class.

this
this(MapSource mapSource, Viewport viewport)

Members

Functions

getMapLayerStruct
ShumateMapLayer* getMapLayerStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

Static functions

getType
GType getType()

Variables

shumateMapLayer
ShumateMapLayer* shumateMapLayer;

the main Gtk struct

Inherited Members

From Layer

shumateLayer
ShumateLayer* shumateLayer;

the main Gtk struct

getLayerStruct
ShumateLayer* getLayerStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

getType
GType getType()
getViewport
Viewport getViewport()

Gets the #ShumateViewport used by this layer.

Meta